package com.soft.bams.entity;

import com.soft.bams.exception.BalanceNotEnoughException;
import com.soft.bams.exception.LoanException;

public interface Loanable {
    Account requestLoan(double money) throws LoanException;  // 贷款
    Account payLoan(double money) throws BalanceNotEnoughException;     // 还贷
}
